{if $pagination.page_total > 1}
<div class="pagelink">
  <span title="Total record{$pagination.record_total}" class="pagelink_state">{$pagination.record_total}</span>
  <span title="Current page{$pagination.page_current}/Page{$pagination.page_total}" class="pagelink_state"><span>{$pagination.page_current}</span>/{$pagination.page_total}</span>
  {if $pagination.page_listbegin != ""}<a href="{$pagination.url|print_format:$pagination.page_listbegin}" target="_self" title="Go to first page" class="pagelink_side">&laquo;</a>{/if}
  {if $pagination.page_listbegin_more != ""}<a href="{$pagination.url|print_format:$pagination.page_listbegin_more}" target="_self" title="Jump {$pagination.page_listnum/2|@floor} page" class="pagelink_side">...</a>{/if}
  {if $pagination.page_previous != ""}<a href="{$pagination.url|print_format:$pagination.page_previous}" target="_self" title="Previous page" class="pagelink_side">&#8249;</a>{/if}
  {foreach name=page_list from=$pagination.page_list item=page_list}
    {if $page_list.if_current == "1"}
      <span title="Current page{$page_list.page}" class="pagelink_current">{$page_list.page}</span>
    {else}
      <a href="{$pagination.url|print_format:$page_list.page}" target="_self" title="{$page_list.page}" class="pagelink_list">{$page_list.page}</a>
    {/if}
  {/foreach}
  {if $pagination.page_next != ""}<a href="{$pagination.url|print_format:$pagination.page_next}" target="_self" title="Next page" class="pagelink_side">&#8250;</a>{/if}
  {if $pagination.page_listend_more != ""}<a href="{$pagination.url|print_format:$pagination.page_listend_more}" target="_self" title="Jump {$pagination.page_listnum/2|@floor} page" class="pagelink_side">...</a>{/if}
  {if $pagination.page_listend != ""}<a href="{$pagination.url|print_format:$pagination.page_listend}" target="_self" title="Go to last page" class="pagelink_side">&raquo;</a>{/if}
  <select onchange="self.location.href=this.options[this.selectedIndex].value" class="pagelink_select">
  {if $pagination.page_selectbegin != ""}<option value="{$pagination.url|print_format:$pagination.page_selectbegin}">{$pagination.page_selectbegin}</option>{/if}
  {if $pagination.page_selectbegin_more != ""}<option value="{$pagination.url|print_format:$pagination.page_selectbegin_more}">...</option>{/if}
  {foreach name=page_select from=$pagination.page_select item=page_select}
    {if $page_select.if_current == "1"}
      <option value="{$pagination.url|print_format:$page_select.page}" selected="selected" class="pagelink_selected">{$page_select.page}</option>
    {else}
      <option value="{$pagination.url|print_format:$page_select.page}">{$page_select.page}</option>
    {/if}
  {/foreach}
  {if $pagination.page_selectend_more != ""}<option value="{$pagination.url|print_format:$pagination.page_selectend_more}">...</option>{/if}
  {if $pagination.page_selectend != ""}<option value="{$pagination.url|print_format:$pagination.page_selectend}">{$pagination.page_selectend}</option>{/if}
  </select>
</div>
{/if}